package com.example.wastes.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.wastes.common.pojo.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StaffMapper extends BaseMapper<Staff> {
    List<Staff> findStaffName(String username);

    Staff tologin(String username);
    int saveStaff(@Param("username") String username, @Param("password") String password);
}
